import http from '@/utils/http'

// 查询通知公告用户阅读列表
export function listSysNoticeUserRead (params) {
  return http({
    url: '/system/sysNoticeUserRead/list',
    method: 'post',
    data: http.adornData(params)
  })
}

// 查询通知公告用户阅读详细
export function getSysNoticeUserRead (id) {
  return http({
    url: '/system/sysNoticeUserRead/' + id,
    method: 'get'
  })
}

// 新增通知公告用户阅读
export function addSysNoticeUserRead (data) {
  return http({
    url: '/system/sysNoticeUserRead',
    method: 'post',
    data: http.adornData(data)
  })
}

// 修改通知公告用户阅读
export function updateSysNoticeUserRead (data) {
  return http({
    url: '/system/sysNoticeUserRead',
    method: 'put',
    data: http.adornData(data)
  })
}

// 删除通知公告用户阅读
export function delSysNoticeUserRead (id) {
  return http({
    url: '/system/sysNoticeUserRead/' + id,
    method: 'delete'
  })
}

// 导出通知公告用户阅读
export function exportSysNoticeUserRead (query) {
  return http({
    url: '/system/sysNoticeUserRead/export',
    method: 'get',
    params: http.adornParams(query)
  })
}
